home *** CD-ROM | disk | FTP | other *** search
/ NOVA - For the NeXT Workstation / NOVA - For the NeXT Workstation.iso / Documents / NeXTAnswers / postscript.559 < prev    next >
Text File  |  1992-02-06  |  2KB  |  32 lines

  1. {\rtf0\ansi{\fonttbl\f0\fnil Times-Roman;\f1\fswiss Helvetica;}
  2. \paperw11760
  3. \paperh7200
  4. \margl120
  5. \margr120
  6. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f0\b0\i0\ul0\fs28 PostScript printing\
  7. \
  8. Q:  When I print a file on the printer, it prints out as PostScript code instead of executing the Postscript commands to create the document I expected.  How come?\
  9. \
  10. A:  Check to make sure that either 
  11. \b %! PS-Adobe-2.0
  12. \b0  or 
  13. \b %! 
  14. \b0  is the first line in your PostScript file.  This is a common oversight when programming in PostScript.  If this does not appear at the beginning of your file, the print spooler doesn't know that it's PostScript, and treats it as an ASCII file.  Thus, it prints it out as source.\
  15. \
  16.  
  17. \b %! PS-Adobe-2.0
  18. \b0  indicates to the spooler that the postscript which follows is a well structured document with pages delimited, etc.  If you are writing some raw Postscript, you should only put 
  19. \b %!
  20. \b0  on the first line.\
  21. \
  22. Q:  When I send my PostScript file to the printer, nothing happens.  Why?  (It works fine in Yap.)\
  23. \
  24. A:  This is another of the most common PostScript programming errors.  Make sure that there is a showpage for each page in your document.  Yap and other previewers don't require showpage because each subpath is immediately drawn to the screen when it is appended to the current path.  This is not true of printers -- the paper goes through the printer only once.  Thus, you need to inform the printer when you have finished describing the current page.\
  25. \
  26. QA559\
  27. \
  28. Valid for 1.0 \
  29. Valid for 2.0\
  30. \
  31.  
  32.